package org.gntc.prayer;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
import android.widget.Toast;

public class MainMenuActivity extends Activity
{
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.main_menu);
	    
	    // �� �⵵ ���� ��ư
	    ImageButton btnMyPrayer = (ImageButton)findViewById(R.id.btn_prayer);
	    
	    btnMyPrayer.setOnClickListener
	    (
	    	new ImageButton.OnClickListener()
	    	{
	    		public void onClick(View v)
	    		{
	    			Intent intent = new Intent(MainMenuActivity.this, PrayerTabActivity.class);
	    			startActivity(intent);
	    		}
	    	}
	    );
	    
	    // ģ�� �⵵ ���� ��ư
	    ImageButton btnMyFriends = (ImageButton)findViewById(R.id.btn_friends);
	    
	    btnMyFriends.setOnClickListener
	    (
	    	new ImageButton.OnClickListener()
	    	{
	    		public void onClick(View v)
	    		{
	    			Toast.makeText(MainMenuActivity.this, "준비중입니다.", Toast.LENGTH_SHORT).show();
	    		}
	    	}
	    );
	    
	    // �⵵ ���� ��ư
	    ImageButton btnHabit = (ImageButton)findViewById(R.id.btn_habit);
	    
	    btnHabit.setOnClickListener
	    (
	    	new ImageButton.OnClickListener()
	    	{
	    		public void onClick(View v)
	    		{
	    			Toast.makeText(MainMenuActivity.this, "준비중입니다.", Toast.LENGTH_SHORT).show();
	    		}
	    	}
	    );
	}
}
